import { Component } from '@angular/core';
import { NavController, NavParams, } from 'ionic-angular';
import { PushPage } from '../push-page/push-page';

/*
  Generated class for the Nav page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
*/
@Component({
  selector: 'page-nav',
  templateUrl: 'nav.html'
})
export class NavPage {
  myParam: string = '';
  constructor(public navCtrl: NavController) {}
  ionViewDidLoad() {
    console.log('Hello Nav Page');
  }

    pushParams() {
    this.navCtrl.push(PushPage, { 'myParam': this.myParam });
  }

}
